package com.trsj.lnsj.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.trsj.lnsj.entity.UserDTO;

@Mapper
public interface UserMapper {
    public void saveUserInfo(UserDTO user);

    public List<UserDTO> selectUserInfo(UserDTO user);

    public void insertUserActivity(@Param("happyNo")String happyNo, @Param("activityId")Long activityId);

    //查询快乐账号列表
    public List<String> selectHappyNoList();
    //查询用户好友信息
    public List<UserDTO> queryUserFriendsInfo(@Param("happyNo")String happyNo);
}
